class Student(object):
    def add(self, name, age):
        self.name = name
        self.age = age




stu = Student() # 类的实例
stu.add('xili', 12)